package a16_visitor.oa_visitor_sample;

/**
 * abstract element
 *
 */
public abstract class AbstractEmployee {
	
	private String name;
	private int worktime;

	abstract void accecpt(IDepartment handler);

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getWorktime() {
		return worktime;
	}

	public void setWorktime(int worktime) {
		this.worktime = worktime;
	}
}
